package com.itmayiedu.constants;

public interface Constants {
	// 响应code
	String HTTP_RES_CODE_NAME = "code";
	// 响应msg
	String HTTP_RES_CODE_MSG = "msg";
	// 响应data
	String HTTP_RES_CODE_DATA = "data";
	// 响应请求成功
	String HTTP_RES_CODE_200_VALUE = "success";
	// 系统错误
	String HTTP_RES_CODE_500_VALUE = "fail";
	// 支付成功
	String PAY_SUCCESS = "success";
	// 支付失败
	String PAY_FAIL = "fail";
	// 响应请求成功code
	Integer HTTP_RES_CODE_200 = 200;
	//未关联账号
	Integer HTTP_RES_CODE_201 = 201;
	// 系统错误
	Integer HTTP_RES_CODE_500 = 500;
	// 发送邮件
	String MSG_EMAIL = "email";
	//密码AES加密Key
	String AES_KEY = "itmayiedu_key";
	//会员Toekn
	String TOKEN_MEMBER = "TOKEN_MEMBER";
	//会员token超时时间
	Long TOKEN_MEMBER_TIME = (long)60*60*24*90;
	int COOKIE_TOKEN_MEMBER_TIME = 60*60*24*90;
	Long PAY_TOKEN_MEMBER_TIME = (long)(60*15);
	//cookie 会员 token 名称
	String COOKIE_MEMBER_TOKEN = "cookie_member_token";
    String TOKEN_KEY = "TOKEN_KEY";
}
